rolesystem.jade.server
Class ServerBehaviour

java.lang.Object
  extended by CyclicBehaviour
      extended by rolesystem.jade.server.ServerBehaviour

public class ServerBehaviour
extends CyclicBehaviour

This is the behaviour of the server agent. It manages a rolesystem, serving all the messages received.


Constructor Summary
ServerBehaviour(Agent agent, PermissionMatrix permissionMatrix, int maxRegs)
           
 
Method Summary
 void action()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerBehaviour

public ServerBehaviour(Agent agent,
                       PermissionMatrix permissionMatrix,
                       int maxRegs)
Parameters:
agent - Agent owner of this behaviour.
permissionMatrix - Permission matrix of the server.
maxRegs - Maximum number of registrations that can be assigned by this server.
permissionMatrix - Permission matrix of the server.
Method Detail

action

public void action()